<?php

/*
 * Sistema:
 *
 * Pagina: Index
 *
 * Histórico:
 *		v. 11/11/2012, EDGARD FANTINI JÚNIOR - efantinij@gmail.com
 *			- versão inicial
 *
 * FRAMWORK: edframe - Copyleft (cc) 2012 EDMAR Sistemas
 */


@session_start();
@session_unset();
@session_destroy();
@session_start();
@session_register("");

$_SESSION['dirName'] = realpath(dirname(__FILE__)) ;

$_SESSION['dirApplication'] = realpath(dirname(__FILE__)).'/application' ;

require_once $_SESSION['dirApplication'].'/config/application.ini' ;

?>
<HTML>
	<HEAD>
		<TITLE><?= $nomeAplicacao ?></TITLE>
		<META http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<LINK rel="SHORTCUT ICON" href="public<?= $logo ?>" />
		<SCRIPT>
			function logar()
			{
					document.formu.action = "public/helpers/php/layout.php" ;
					document.formu.submit();
			}
		</SCRIPT>
	</HEAD>
	<BODY id='corpoPagina' onload='logar();'>
		<FORM name='formu' method='POST' >
			<INPUT type="hidden" name="nomeDaPagina" value='/public/helpers/php/logar' />
		</FORM>
	</BODY>
</HTML>
